﻿@using Journal.Front.Resources
@model Journal.Front.Presentation.Models.AccountModels.AccountModel
@{
    ViewBag.Title = "LogOn";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="logOn-page main grid-wrap">
    <div class="grid col-three-quarters mq2-col-two-thirds mq3-col-full">
        <h2>@HtmlControlTitles.LogOnTitle</h2>
        @{ Html.BeginForm(); }      
        <ul id="loginBox">
            <li>
                @Html.LabelFor(x => x.Login, HtmlControlTitles.LoginField)
                @Html.TextBoxFor(x => x.Login)
                @Html.ValidationMessageFor(x => x.Login)
            </li>
            <li>
                @Html.LabelFor(x => x.Login, HtmlControlTitles.PasswordField)
                @Html.PasswordFor(x => x.Password)
                @Html.ValidationMessageFor(x => x.Password)
            </li>
            <li>
                <button type="submit" id="LogOnButton" name="submit" class="button fright">@HtmlControlTitles.LogOnSubmitButton</button>
                <button type="submit" id="RegistrationButton" name="submit" class="button fright">@HtmlControlTitles.RegistrationLink</button>
                <a href="#" id="FoggotPassword">@HtmlControlTitles.FoggotPasswordLink</a>
            </li>
        </ul>
        @{Html.EndForm();}	
    </div>
</div>
